﻿using Manson.deviseMode.Single;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Manson.deviseMode
{
    internal class Program
    {
        static void Main(string[] args)
        {
            #region SingleObject
            //单列模式，无法实例化对象
            // SingleObject single =new SingleObject();
            SingleObject single= SingleObject.GetInstance();

            single.printerInfo("欢迎学习单例模式！");
           string value= Console.ReadLine();
            
            #endregion
        }
    }
}
